package leetcode.backtrace;

import leetcode.backtrace.common.BackTraceUtils;

import java.util.List;

class Solution90 {
    public List<List<Integer>> subsetsWithDup(int[] nums) {
        return BackTraceUtils.subsetsWithDup(nums);
    }
}

public class leetcode90 {
    public static void main(String[] args) {
        Solution90 solution90 = new Solution90();
        int[] nums = {1, 2, 2};
        int[] nums1 = {1, 1, 2, 2};
        int[] nums2 = {1, 2, 2, 2};
        int[] nums3 = {0};
        System.out.println(solution90.subsetsWithDup(nums));
        System.out.println(solution90.subsetsWithDup(nums1));
        System.out.println(solution90.subsetsWithDup(nums2));
        System.out.println(solution90.subsetsWithDup(nums3));
    }
}
